<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">

    <button @click="handleAdd"> aaa</button>

</div>
<!--

<form action="/ordersetting/aaa.do" method="post">
    <input type="submit">
</form>
-->


<!-- 引入组件库 -->
<script src="../js/vue.js"></script>
<script src="../plugins/elementui/index.js"></script>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script src="../js/axios-0.18.0.js"></script>
<script>
    var vue = new Vue({
        el: '#app',
        data: {},
        //钩子函数，VUE对象初始化完成后自动执行
        created() {

        },
        methods: {
            //添加
            handleAdd() {

                //发送异步请求
                axios.post("/ordersetting/aaa.do", {date:'2019.12.11'}).then((res) => {

                }).finally(() => {

                });
            }
        }
    })
</script>

</body>
</html>